package com.amigo.online.provider.search.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.amigo.online.common.core.response.Response;

@FeignClient(name = "amigo-online-provider-video")
public interface MusicFeignService {
    @RequestMapping(value = "/music/getAll", method = RequestMethod.GET)
    public ResponseEntity<Response> getAll();

    @RequestMapping(value = "/music/getMusicByIds", method = RequestMethod.GET)
    public ResponseEntity<Response> getMusicByIds(@RequestParam("ids") List<Long> ids);
}
